import { createApp } from "vue";
import App from "./App.vue";
import router from './router'
import i18n from './locales'
import { createPinia } from 'pinia' //引入pinia

// import "~/styles/element/index.scss";

import ElementPlus from "element-plus";
// import all element css, uncommented next line
import "element-plus/dist/index.css";

// or use cdn, uncomment cdn link in `index.html`

import "~/styles/index.scss";
import 'uno.css'

import "./assets/css/common.scss"
import './assets/css/flex.scss'

// If you want to use ElMessage, import it.
import "element-plus/theme-chalk/src/message.scss"

const app = createApp(App);


import moment from 'moment';
moment.locale('zh-cn');
app.config.globalProperties.$moment = moment

app.use(router)
app.use(i18n)
app.use(createPinia())
app.use(ElementPlus);
app.mount("#app");
